import * as types from './mutation-types';

export const setFoo = ({ commit }, payload) => {
  commit(types.UPDATE_FOO, payload);
};

// export const setUserInfo = async ({ commit }) => {
//   const response = await getUserInfo();
//   commit(types.GETUSER_INFO,response);
// };
